package com.aiti.lulian.mapper.gongxin;

import com.aiti.base.core.base.mapper.SuperMapper;
import com.aiti.lulian.dto.gonxin.FundApplicationDto;
import com.aiti.lulian.entity.FundApplication;
import com.aiti.lulian.vo.gongxin.FundApplicationVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FundApplicationMapper extends SuperMapper<FundApplication> {

    List<FundApplicationVo> selectApplicationList(Page<FundApplicationVo> page, @Param("dto") FundApplicationDto dto);

    List<FundApplicationVo> selectServerUserApplicationList(Page<FundApplicationVo> page, @Param("dto") FundApplicationDto dto);

    FundApplicationVo selectApplicationDetails(@Param("baseId") String baseId);
}
